package com.lz.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author 徐建林
 * @date 2018/10/29 16:01
 */
@Data
@Table
@Entity
public class TemporaryCarParts implements Serializable {
    @Id
    @GeneratedValue(generator = "identity")
    @GenericGenerator(name = "identity",strategy = "identity")
    /**配件编号*/
    private Integer carPartsNo;
    /**配件名*/
    private String carPartsName;
    /** 使用数量*/
    private Integer carPartsCount;
    /**计量单位*/
    private String metering;
    /**销售指导价*/
    private Double guidedPrice;
    /**折扣率*/
    private Double discountRate;
    /**实际价格*/
    private Double actualPrice;
    /**总价格*/
    private Double totalPrice;


    private Integer equipmentSheetNo;
}
